﻿using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using pandx.Mulan.Dto;
using pandx.Mulan.Flow.FlowSchemes.Dto;

namespace pandx.Mulan.Flow.FlowSchemes
{
    public interface IFlowSchemeAppService
    {
        Task<PagedResultDto<FlowSchemeListDto>> ObtainFlowSchemes(ObtainFlowSchemesInput input);
        Task CreateOrUpdateFlowScheme(CreateOrUpdateFlowSchemeInput input);
        Task<GetFlowSchemeForEditOutput> GetFlowSchemeForEdit(NullableIdDto<long> input);
        Task<FlowSchemeListDto> GetFlowScheme(EntityDto<long> input);
        Task DeleteFlowScheme(EntityDto<long> input);
        Task<FileDto> ObtainFlowSchemesToExcel(ObtainFlowSchemesInput input);
    }
}
